#include "hzpch.h"
#include "log.h"
#include "spdlog/sinks/stdout_color_sinks.h"

namespace Hazel{
    std::shared_ptr<spdlog::logger> Log::s_CoreLogger;
    std::shared_ptr<spdlog::logger> Log::s_ClientLogger;
    void Log::init()
    {
        spdlog::set_pattern("%^[%T] %n: %v%$");
        s_CoreLogger=spdlog::stdout_color_mt("HAZEL");
        s_CoreLogger->set_level(spdlog::level::level_enum::trace);
        
        s_ClientLogger=spdlog::stdout_color_mt("APP");
        s_ClientLogger->set_level(spdlog::level::level_enum::trace);
    }
}